<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="./build/three.js"></script>
  <script src="./build/OrbitControls.js"></script>
  <style>
    body{
      margin: 0;
      padding: 0;
      overflow: hidden;
    }
  </style>
</head>
<body>
  <script>
    {
      const GetUrlQueryString= (url,name)=>{
        var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
        var r = url.substring(url.indexOf("?")).substr(1).match(reg);
        if(r!=null)return unescape(r[2]); return null;
      }
      const page = GetUrlQueryString(location.href,'page')||"1"
      let s=document.createElement('script')
      s.src=`./js/${page}.js?t=${Date.now()}`
      s.type='module';
      document.body.appendChild(s)
    }
  </script>
</body>
</html>